import http from '@/utils/request'
import { base } from '@/config'
const baseUrl = base.user + '/etpInvoiceRecord'

// 企业主开票记录
const etpInvoiceRecord = {
  // 开票列表
  list: params => {
    return http.get(`${baseUrl}/list`, params)
  },

  // 处理
  handle: data => {
    return http.postJson(`${baseUrl}/handle`, data)
  },

  // 概况
  overview: () => {
    return http.get(`${baseUrl}/overview`)
  }
}

export default etpInvoiceRecord
